#ifndef RDESKTOPSTASKBARICON_H
#define RDESKTOPSTASKBARICON_H

#include <wx/wx.h>

#include "rdesktops.h"

typedef map<long, string> ProfileMap;

class RDesktopsTaskBarIcon: public wxTaskBarIcon
{
    public:

        RDesktopsTaskBarIcon(RDesktops* frame);

    private:

        void onLeftButtonClick(wxTaskBarIconEvent&);
        void onRightButtonClick(wxTaskBarIconEvent&);
        void onMenuItemSelect(wxCommandEvent& event);

        void showMainWindow();
        void quit();

        RDesktops* m_frame;

        ProfileMap m_profileMap;
        wxMenu* m_fileMenu;
        wxMenu* m_popupMenu;

    DECLARE_EVENT_TABLE()
};


#endif // WXWRAPPER_H_INCLUDED
